import Layout from '@/layout'
const employeesRouter = {
  path: '/employees',
  component: Layout,
  children: [
    {
      path: '',
      name: 'employees',
      component: () => import(/* webpackChunkName:"employees"*/'@/views/employees(员工管理)/employees.vue'),
      meta: { title: '员工管理', icon: 'user' }
    },
    {
      // path: 'detail', // 路由传参
      path: 'detail/:id',// 路径传参
      name: 'detail',
      component: () => import(/* webpackChunkName:"detail"*/'@/views/employees(员工管理)/detail.vue'),
      // 侧边栏隐藏
      hidden: true
    }
  ]
}
export default employeesRouter